package com.my.mapper;

import com.my.domain.SysLoginUser;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author coderMy
 * @Date 2021/3/30
 */
public interface SysUserMapper {
    @Select("select *from sys_user where username = #{s}")
    SysLoginUser selectUserByUsername(String s);

    List<String> selectAuthsByUserId(Long userId);
}